package com.pet.article.feign;

import com.pet.model.behavior.pojos.ApLikesBehavior;
import com.pet.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "pet-behavior",path = "/api/likesBehavior",contextId = "apLikesBehavior")
public interface ApLikesBehaviorFeign {
    /**
     * 查询点赞行为记录
     */
    @GetMapping("getLikeBehavior")
    public ResponseResult<ApLikesBehavior> getLikeBehavior(@RequestParam("entryId")Integer entryId, @RequestParam("articleId")Long articleId);
}
